{extend name='common@layout/seller' /}
{block name="left"}{include file='common/order_left'}{/block}
{block name="breadcrumb"}
<div class="ncsc-path"><i class="icon-desktop"></i>商家管理中心<i class="icon-angle-right"></i>订单物流<i class="icon-angle-right"></i>发货</div>
{/block}
{block name='content'}
<div class="tabmenu">
   {include file='common/submenu'}
</div>
<form method="POST" id='express_form' action="/?s=seller/deliver_set/express" onsubmit="ajaxpost('express_form', '', '', 'onerror');return false;">
  <table class="ncsc-default-table" >
    <thead>
      <tr>
        <th class="w20"></th>
        <th colspan="4" class="tm">物流公司</th>
      </tr>
    </thead>
    <tbody>
      <?php if(!empty($express_list) && is_array($express_list)){?>
      <tr class="bd-line">
        <td></td>
        <?php $i = 1;?>
        <?php foreach($express_list as $key=>$value){?>
        <td class="tl"><label>
            <input type="checkbox" name="cexpress[]" <?php if (in_array($key,$express_select)) echo 'checked';?> value="<?php echo $key;?>">
            <?php echo $value['e_name'];?></label></td>
        <?php if ($i%4 == 0){?>
      </tr>
      <tr class="bd-line">
        <td></td>
        <?php };$i++;?>
        <?php }?>
      </tr>
      <?php }else{?>
      <tr>
        <td colspan="20" class="norecord"><div class="warning-option"><i class="icon-warning-sign"></i><span>暂无符合条件的数据记录</span></div></td>
      </tr>
      <?php }?>
    </tbody>
    <tfoot>
      <tr>
        <td colspan="20" class="bottom"><label class="submit-border"><input class="submit" type="submit" value="保存"></label></td>
      </tr>
    </tfoot>
  </table>
</form>

{/block}
